<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>

<body>
<?php
					if(!$_POST["Job_ID"])
						die("Invalid Job_ID. Go back and try again.");
					
					$sql="SELECT * from wms_job where job_id = ".$_POST["Job_ID"];
					$result=mysql_query($sql);
					
					while ($row=mysql_fetch_array($result)) {
						$title=$row["job_title"];
						$desc=$row["job_description"];
						$city=$row["job_city"];
						$state=$row["job_state"];
						$zip=$row["job_zip"];
						$addr=$row["job_st_address"];
						$bus=$row["busline"];
						$wage=$row["starting_wage"];
						$open=$row["num_of_opening"];
						$dur=$row["full_part"];
						$perm=$row["perm_temp"];
						$shift=$row["shift"];
						$tran=$row["Transportation"];
						$expr=$row["exp_required"];
						$expl=$row["exp_level"];
						$req=$row["requirements"];
					}
					
					$content = "
					<tr>
					 <td width=\"200\">Job Title: </td>
					 <td width=\"500\">".$title."</td>
					</tr>
					<tr>
					 <td>Description: </td>
					 <td>".$desc."</td>
					</tr>
					<tr>
					 <td>Address: </td>
					 <td>".$addr."</td>
					</tr>
					<tr>
					 <td>City: </td>
					 <td>".$city."</td>
					</tr>
					<tr>
					 <td>State: </td>
					 <td>".$state."</td>
					</tr>
					<tr>
					 <td>Busline: </td>
					 <td>".$bus."</td>
					</tr>
					<tr>
					 <td>Starting Wage: </td>
					 <td>".$wage."</td>
					</tr>
					<tr>
					 <td># Openings: </td>
					 <td>".$open."</td>
					</tr>
					<tr>
					 <td>Duration: </td>
					 <td>".$dur."</td>
					</tr>
					<tr>
					 <td>Temp/Perm: </td>
					 <td>".$perm."</td>
					</tr>
					<tr>
					 <td>Shift: </td>
					 <td>".$shift."</td>
					</tr>
					<tr>
					 <td>Transportation: </td>
					 <td>".$tran."</td>
					</tr>
					<tr>
					 <td>Experience required: </td>
					 <td>".$expr."</td>
					</tr>
					<tr>
					 <td>Experience level:: </td>
					 <td>".$expl."</td>
					</tr>
					<tr>
					 <td>Requirements: </td>
					 <td>".$req."</td>
					</tr>
					";
					
					echo $content;
				?>

</body>

</html>
